package com.collect.zambia.zhiScene.zhiCollection.zhiGroup.zhiPerformance.zhiSort;

import com.collect.zambia.zhiBean.zhiReceive.ZHIRPerfermanceGroupRealTimeEntity;

import java.util.Comparator;

public class ZHIGroupRealTimeCompareByTotalNumASC implements Comparator<ZHIRPerfermanceGroupRealTimeEntity> {
    @Override
    public int compare(ZHIRPerfermanceGroupRealTimeEntity o1, ZHIRPerfermanceGroupRealTimeEntity o2) {
        return Integer.compare(o2.getTotalNum(), o1.getTotalNum());
    }
}
